Returns true if the request IP is contained in the list of IPs of the given class